package com.example.lottery_system.service;

import com.example.lottery_system.controller.param.DrawPrizeParam;
import com.example.lottery_system.controller.param.WinningRecordParam;
import com.example.lottery_system.dao.DataObject.WinningRecordDO;
import com.example.lottery_system.service.dto.WinningRecordsDto;

import java.util.List;


public interface DrawPrizeService {
    void drawPrize(DrawPrizeParam param);

    boolean checkDrawPrizeParam(DrawPrizeParam param);


    List<WinningRecordDO> saveRecord(DrawPrizeParam param);

    List<WinningRecordsDto> showWinningRecord(WinningRecordParam param);

    void deleteWinningReCord(Long key);
}
